/**
 * Created by haoran.shu on 2018/5/8 15:48.
 */
import buble from 'rollup-plugin-buble';
import uglify from 'rollup-plugin-uglify';

export default [{
  input: 'motion.js',
  output: {
    file: 'dist/motion.js',
    format: 'iife',
    name: 'Motion'
  },
  plugins: [
    buble()
  ]
}, {
  input: 'motion.js',
  output: {
    file: 'dist/motion.min.js',
    format: 'iife',
    name: 'Motion',
    sourcemap: true
  },
  plugins: [
    buble(),
    uglify()
  ]
}];
